<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" readonly class="form-control" data-rule="required" name="row[title]" type="text" value="{$rows.title|htmlentities}">
        </div>
    </div>


  
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" readonly class="form-control" data-rule="required" name="row[name]" type="text" value="{$rows.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" readonly class="form-control" data-rule="required" name="row[mobile]" type="text" value="{$rows.mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Workrange')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-workrange" readonly class="form-control" data-rule="required" name="row[workrange]" type="text" value="{$rows.workrange|htmlentities}">
        </div>
    </div>
  

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('门店地址')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" readonly class="form-control" name="row[address]" data-rule="required" type="text" value="{$rows.address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('详细地址')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" readonly class="form-control" name="row[detailed]" data-rule="required" type="text" value="{$rows.detailed|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lng')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lng" readonly class="form-control" name="row[lng]" data-rule="required" type="text" value="{$rows.lng|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Lat')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-lat" readonly class="form-control" name="row[lat]" data-rule="required" type="text" value="{$rows.lat|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('审核状态')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="stateList" item="vo"}
                <label for="row[state]-{$key}"><input id="row[state]-{$key}" name="row[state]" type="radio"  value="{$key}" {in name="key" value="$rows.state" }checked{/in} /> {$vo}</label>

                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
